Filename | (eval 88)[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Eval/TypeTiny.pm:8] |
Statements | Executed 945 statements in 830µs |
Eval Invoked At | /Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Eval/TypeTiny.pm line 8 |
Sibling evals | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90 |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
77 | 12 | 6 | 190µs | 9.99ms | HashRef (recurses: max depth 1, inclusive time 8µs) | Types::Standard::
17 | 15 | 7 | 140µs | 6.44ms | InstanceOf | Types::Standard::
38 | 7 | 5 | 137µs | 3.24ms | ArrayRef | Types::Standard::
6 | 6 | 3 | 45µs | 5.32ms | Enum | Types::Standard::
21 | 3 | 3 | 39µs | 788µs | Optional | Types::Standard::
20 | 1 | 1 | 35µs | 35µs | __ANON__[(eval 103)[Eval/TypeTiny.pm:8]:15] (merge of 20 subs) | Eval::TypeTiny::Sandbox::
4 | 3 | 2 | 33µs | 15.6ms | Dict | Types::Standard::
9 | 6 | 5 | 31µs | 3.04ms | Slurpy | Types::Standard::
2 | 2 | 1 | 13µs | 6.42ms | Tuple | Types::Standard::
1 | 1 | 1 | 12µs | 2.12ms | HasMethods | Types::Standard::
2 | 2 | 2 | 10µs | 2.92ms | Map | Types::Standard::
0 | 0 | 0 | 0s | 0s | Join | Eval::TypeTiny::
0 | 0 | 0 | 0s | 0s | __ANON__[(eval 103)[Eval/TypeTiny.pm:8]:13] (merge of 20 subs) | Eval::TypeTiny::Sandbox::
0 | 0 | 0 | 0s | 0s | Split | Eval::TypeTiny::
0 | 0 | 0 | 0s | 0s | ConsumerOf | Types::Standard::
0 | 0 | 0 | 0s | 0s | CycleTuple | Types::Standard::
0 | 0 | 0 | 0s | 0s | Maybe | Types::Standard::
0 | 0 | 0 | 0s | 0s | Overload | Types::Standard::
0 | 0 | 0 | 0s | 0s | Ref | Types::Standard::
0 | 0 | 0 | 0s | 0s | ScalarRef | Types::Standard::
0 | 0 | 0 | 0s | 0s | StrMatch | Types::Standard::
0 | 0 | 0 | 0s | 0s | Tied | Types::Standard::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Eval::TypeTiny::Sandbox; | ||||
2 | # spent 35µs within Eval::TypeTiny::Sandbox::__ANON__[(eval 103)[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Eval/TypeTiny.pm:8]:15] which was called 20 times, avg 2µs/call:
# (data for this subroutine includes 19 others that were merged with it)
# 20 times (35µs+0s) by Eval::TypeTiny::eval_closure at line 248 of Eval/TypeTiny.pm, avg 2µs/call | ||||
3 | 20 | 3µs | my $type = ${ $_[0] }; | ||
4 | |||||
5 | # spent 788µs (39+749) within Types::Standard::Optional which was called 21 times, avg 38µs/call:
# 19 times (32µs+749µs) by OpenAPI::Modern::BEGIN@26 at line 122 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm, avg 41µs/call
# once (4µs+0s) by Types::Standard::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Types/Standard.pm:190] at line 22 of Types/Standard/Tuple.pm
# once (3µs+0s) by Types::Standard::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Types/Standard.pm:190] at line 27 of Types/Standard/Dict.pm
# spent 6.44ms (140µs+6.30) within Types::Standard::InstanceOf which was called 17 times, avg 379µs/call:
# 2 times (9µs+732µs) by JSON::Schema::Modern::BEGIN@34 at line 67 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Result.pm, avg 370µs/call
# 2 times (10µs+453µs) by OpenAPI::Modern::BEGIN@26 at line 650 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm, avg 232µs/call
# once (13µs+3.52ms) by JSON::Schema::Modern::BEGIN@33 at line 40 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Error.pm
# once (8µs+383µs) by main::BEGIN@2 at line 35 of OpenAPI/Modern.pm
# once (4µs+313µs) by JSON::Schema::Modern::BEGIN@35 at line 48 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Document.pm
# once (5µs+282µs) by JSON::Schema::Modern::BEGIN@33 at line 52 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Error.pm
# once (8µs+133µs) by JSON::Schema::Modern::BEGIN@34 at line 39 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Result.pm
# once (9µs+99µs) by JSON::Schema::Modern::BEGIN@35 at line 40 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Document.pm
# once (39µs+59µs) by JSON::Schema::Modern::Result::BEGIN@20 at line 36 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Annotation.pm
# once (11µs+67µs) by OpenAPI::Modern::BEGIN@28 at line 57 of JSON/Schema/Modern/Document/OpenAPI.pm
# once (5µs+62µs) by JSON::Schema::Modern::BEGIN@35 at line 46 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Document.pm
# once (7µs+53µs) by JSON::Schema::Modern::BEGIN@35 at line 111 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Document.pm
# once (6µs+52µs) by main::BEGIN@2 at line 47 of OpenAPI/Modern.pm
# once (2µs+50µs) by JSON::Schema::Modern::BEGIN@34 at line 48 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Result.pm
# once (4µs+41µs) by JSON::Schema::Modern::BEGIN@35 at line 79 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Document.pm
# spent 15.6ms (33µs+15.6) within Types::Standard::Dict which was called 4 times, avg 3.90ms/call:
# 2 times (16µs+6.94ms) by OpenAPI::Modern::BEGIN@26 at line 122 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm, avg 3.48ms/call
# once (8µs+5.47ms) by JSON::Schema::Modern::BEGIN@35 at line 79 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Document.pm
# once (9µs+3.17ms) by OpenAPI::Modern::BEGIN@26 at line 650 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# spent 6.42ms (13µs+6.41) within Types::Standard::Tuple which was called 2 times, avg 3.21ms/call:
# once (8µs+4.53ms) by OpenAPI::Modern::BEGIN@26 at line 710 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (5µs+1.88ms) by OpenAPI::Modern::BEGIN@26 at line 752 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# spent 3.24ms (137µs+3.10) within Types::Standard::ArrayRef which was called 38 times, avg 85µs/call:
# 24 times (76µs+0s) by Types::Standard::ArrayRef::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Types/Standard/ArrayRef.pm:121] at line 105 of Types/Standard/ArrayRef.pm, avg 3µs/call
# 8 times (27µs+0s) by Types::Standard::Tuple::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Types/Standard/Tuple.pm:164] at line 157 of Types/Standard/Tuple.pm, avg 3µs/call
# 2 times (13µs+2.27ms) by JSON::Schema::Modern::BEGIN@34 at line 67 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Result.pm, avg 1.14ms/call
# once (5µs+366µs) by OpenAPI::Modern::BEGIN@26 at line 650 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (5µs+334µs) by JSON::Schema::Modern::BEGIN@35 at line 79 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Document.pm
# once (6µs+91µs) by OpenAPI::Modern::BEGIN@26 at line 752 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (5µs+36µs) by JSON::Schema::Modern::BEGIN@35 at line 111 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Document.pm
# spent 9.99ms (190µs+9.80) within Types::Standard::HashRef which was called 77 times, avg 130µs/call:
# 37 times (73µs+0s) by Types::Standard::HashRef::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Types/Standard/HashRef.pm:76] at line 69 of Types/Standard/HashRef.pm, avg 2µs/call
# 24 times (42µs+-8µs) by Types::Standard::Dict::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Types/Standard/Dict.pm:161] at line 148 of Types/Standard/Dict.pm, avg 1µs/call
# 3 times (13µs+3.52ms) by JSON::Schema::Modern::BEGIN@35 at line 79 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Document.pm, avg 1.18ms/call
# 3 times (15µs+3.32ms) by OpenAPI::Modern::BEGIN@26 at line 650 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm, avg 1.11ms/call
# 3 times (11µs+0s) by Types::Standard::Map::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Types/Standard/Map.pm:87] at line 78 of Types/Standard/Map.pm, avg 4µs/call
# once (4µs+875µs) by OpenAPI::Modern::BEGIN@26 at line 122 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (5µs+790µs) by OpenAPI::Modern::BEGIN@26 at line 752 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (6µs+602µs) by OpenAPI::Modern::BEGIN@26 at line 710 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (6µs+371µs) by OpenAPI::Modern::BEGIN@26 at line 968 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (7µs+279µs) by OpenAPI::Modern::BEGIN@28 at line 70 of JSON/Schema/Modern/Document/OpenAPI.pm
# once (7µs+55µs) by JSON::Schema::Modern::BEGIN@35 at line 91 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Document.pm
# once (1µs+0s) by Types::Standard::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Types/Standard.pm:190] at line 28 of Types/Standard/Dict.pm
# spent 2.92ms (10µs+2.91) within Types::Standard::Map which was called 2 times, avg 1.46ms/call:
# once (8µs+2.91ms) by OpenAPI::Modern::BEGIN@26 at line 936 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (2µs+0s) by Types::Standard::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Types/Standard.pm:190] at line 29 of Types/Standard/Dict.pm
# spent 5.32ms (45µs+5.28) within Types::Standard::Enum which was called 6 times, avg 887µs/call:
# once (9µs+3.10ms) by JSON::Schema::Modern::BEGIN@33 at line 54 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Error.pm
# once (8µs+738µs) by JSON::Schema::Modern::BEGIN@34 at line 72 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Result.pm
# once (12µs+675µs) by OpenAPI::Modern::BEGIN@26 at line 57 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (5µs+609µs) by OpenAPI::Modern::BEGIN@26 at line 122 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (5µs+99µs) by OpenAPI::Modern::BEGIN@26 at line 59 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (6µs+49µs) by OpenAPI::Modern::BEGIN@26 at line 650 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# spent 2.12ms (12µs+2.10) within Types::Standard::HasMethods which was called:
# once (12µs+2.10ms) by OpenAPI::Modern::BEGIN@26 at line 910 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# spent 3.04ms (31µs+3.01) within Types::Standard::Slurpy which was called 9 times, avg 338µs/call:
# 4 times (12µs+0s) by Types::Standard::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Types/Standard.pm:826] at line 815 of Types/Standard.pm, avg 3µs/call
# once (4µs+2.32ms) by OpenAPI::Modern::BEGIN@26 at line 122 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (3µs+662µs) by JSON::Schema::Modern::BEGIN@35 at line 79 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern/Document.pm
# once (5µs+29µs) by OpenAPI::Modern::BEGIN@26 at line 650 of /Users/ether/git/JSON-Schema-Modern/lib/JSON/Schema/Modern.pm
# once (4µs+0s) by Types::Standard::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Types/Standard.pm:190] at line 26 of Types/Standard/Dict.pm
# once (3µs+0s) by Types::Standard::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Types/Standard.pm:190] at line 23 of Types/Standard/Tuple.pm | ||||
6 | 177 | 79µs | if (ref($_[0]) eq 'Type::Tiny::_HalfOp') { | ||
7 | my $complete_type = shift->complete($type); | ||||
8 | @_ && wantarray ? return($complete_type, @_) : return $complete_type; | ||||
9 | } | ||||
10 | 354 | 102µs | my $params; $params = shift if ref($_[0]) eq q(ARRAY); | ||
11 | 177 | 131µs | 69 | 55.2ms | my $t = $params ? $type->parameterize(@$params) : $type; # spent 55.2ms making 69 calls to Type::Tiny::parameterize, avg 800µs/call |
12 | 177 | 407µs | @_ && wantarray ? return($t, @_) : return $t; | ||
13 | } | ||||
14 | |||||
15 | 40 | 108µs | } | ||
16 | ; |